<h1>设施列表</h1>

<table>
  
<% for site in @sites %>
  <tr>
    <td>
    <%= image_tag url_for_file_column(site, "image", "thumb") %>
    <%= link_to "#{site.title}", site_path(site) %><%=site.title%></td>
    <td><%=site.description%></td>
  </tr>
<% end %>
</table>

<%= link_to 'Previous page', { :page => @site_pages.current.previous } if @site_pages.current.previous %>
<%= link_to 'Next page', { :page => @site_pages.current.next } if @site_pages.current.next %> 

<br />
